package com.serviceprovider.business.module.admin.settings.model;

//~--- non-JDK imports --------------------------------------------------------

import org.apache.commons.collections.FactoryUtils;
import org.apache.commons.collections.list.LazyList;

//~--- JDK imports ------------------------------------------------------------

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * User: tryk
 * Date: 22.06.11
 * Time: 14:26
 * <p/>
 * (c) All rights reserverd. Please contact tryk@lost.net.ua for any questions.
 */
public class SettingsVO {
    private List<DefaultFee> allFees;
    private Integer          checkPrintBy;
    private String           message;
    private Date             newEffectiveFrom;
    private Integer          newFee;
    private Integer          orderApproval;
    private String           uiTheme;

    public SettingsVO() {
        allFees = LazyList.decorate(new ArrayList(), FactoryUtils.instantiateFactory(DefaultFee.class));
    }

    public Integer getNewFee() {
        return newFee;
    }

    public void setNewFee(Integer newFee) {
        this.newFee = newFee;
    }

    public Date getNewEffectiveFrom() {
        return newEffectiveFrom;
    }

    public void setNewEffectiveFrom(Date newEffectiveFrom) {
        this.newEffectiveFrom = newEffectiveFrom;
    }

    public String getUiTheme() {
        return uiTheme;
    }

    public void setUiTheme(String uiTheme) {
        this.uiTheme = uiTheme;
    }

    public List<DefaultFee> getAllFees() {
        return allFees;
    }

    public void setAllFees(List<DefaultFee> allFees) {
        this.allFees = allFees;
    }

    public Integer getOrderApproval() {
        return orderApproval;
    }

    public void setOrderApproval(Integer orderApproval) {
        this.orderApproval = orderApproval;
    }

    public Integer getCheckPrintBy() {
        return checkPrintBy;
    }

    public void setCheckPrintBy(Integer checkPrintBy) {
        this.checkPrintBy = checkPrintBy;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}



